﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.工艺工序
{
    /// <summary>
    /// 工艺工序实体
    /// </summary>
    [SugarTable("makestepmodel", TableDescription = "工艺工序表")]
    public class Makestepmodel:BaseEntity
    {
        /// <summary>
        /// 工艺工序名称
        /// </summary>
        public string Processname { get; set; }

        /// <summary>
        /// 工艺工序编号
        /// </summary>
        public string Processcode { get; set; }

        /// <summary>
        /// 工艺工序描述
        /// </summary>
        public string Processdescription { get; set; }

        /// <summary>
        /// 工艺工序版本
        /// </summary>
        public string Version { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string Goodsname { get; set; }

        /// <summary>
        /// 产出物
        /// </summary>
        public string Deliverables { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string Kahuna { get; set; }

        /// <summary>
        /// 是否使用
        /// </summary>
        /// 
        [SugarColumn(OldColumnName = "State")]
        public bool IsUse { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string Departmentname { get; set; }
        /// <summary>
        /// 工序时长
        /// </summary>
        public short SpanTime { get; set; }
        /// <summary>
        /// 设备Id
        /// </summary>
        public long EquipmentId { get; set; }

        /// <summary>
        /// 父级Id
        /// </summary>
        public long Parentid { get; set; }
    }
}
